package org.example.myleet.p1713;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(2 == solution.minOperations(new int[]{5,1,3}, new int[]{9,4,2,3,4}));
        Assert.isTrue(3 == solution.minOperations(new int[]{6,4,8,1,3,2}, new int[]{4,7,6,2,3,8,6,1}));
        Assert.isTrue(6 == solution.minOperations(new int[]{16,7,20,11,15,13,10,14,6,8}, new int[]{11,14,15,7,5,5,6,10,11,6}));
        Assert.isTrue(6 == solution.minOperations(new int[]{17,18,14,13,6,9,1,3,2,20}, new int[]{18,15,14,6,6,13,15,20,2,6}));
    }
}
